package com.company.management.service.impl;

import com.company.management.mapper.PostMapper;
import com.company.management.modal.entity.Post;
import com.company.management.service.PostService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class PostServiceImpl implements PostService {
    @Resource
    private PostMapper postMapper;

    @Override
    public List<Post> listAll() {
        return postMapper.listAll();
    }
}
